home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20031118-20041115 / 000023_anthonypieper@cs.com_Wed Nov 26 14:40:14 2003.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Path: newsmaster.cc.columbia.edu!panix!news.maxwell.syr.edu!postnews1.google.com!not-for-mail
  2. From: anthonypieper@cs.com (newexpectuser)
  3. Newsgroups: comp.protocols.kermit.misc
  4. Subject: Re: Quick Question on switch statement and :1, :2
  5. Date: 26 Nov 2003 10:57:28 -0800
  6. Organization: http://groups.google.com
  7. Lines: 28
  8. Message-ID: <f0bb0f39.0311261057.2fc63bce@posting.google.com>
  9. References: <f0bb0f39.0311260516.356db920@posting.google.com> <slrnbs9gsi.c9g.fdc@sesame.cc.columbia.edu>
  10. NNTP-Posting-Host: 209.251.39.194
  11. Content-Type: text/plain; charset=ISO-8859-1
  12. Content-Transfer-Encoding: 8bit
  13. X-Trace: posting.google.com 1069873048 9118 127.0.0.1 (26 Nov 2003 18:57:28 GMT)
  14. X-Complaints-To: groups-abuse@google.com
  15. NNTP-Posting-Date: Wed, 26 Nov 2003 18:57:28 +0000 (UTC)
  16. Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14699
  17.  
  18. Frank da Cruz <fdc@columbia.edu> wrote in message news:<slrnbs9gsi.c9g.fdc@sesame.cc.columbia.edu>...
  19. > In article <f0bb0f39.0311260516.356db920@posting.google.com>,
  20. > newexpectuser wrote:
  21. > : I am using the following and was wondering if the :1 and :2 are just
  22. > : labels to clarify code. I am guessing that the "if < \v(input).." says
  23. > : if the return code of the minput statement is a 1, to exit with a
  24. > : return code of 1, otherwise check continue ?
  25. > : 
  26. > Read the manual or type "help switch" to find out how the SWITCH command
  27. > works.  Type "help xxx" to find out how any command xxx works.
  28. > : If that is true, then I think the :1 and :2 are nothing more than
  29. > : labels and have no affect on the script itself ?
  30. > : 
  31. > The SWITCH command is explained on page 385 of "Using C-Kermit".  You
  32. > can't learn a programming language without a manual.
  33.   First I want to make sure Kermit can fulfill our business needs as
  34.   a simple file transfer protocol running unattended versus other
  35.   communications protocols. It's strength lies in robust commands
  36.   especially the /delete on the send command. Right now I am finding
  37.   it lacking it knowing a file is still in progress of being
  38.   put into a directory and therefore transfering a "partial" file and
  39.   then issuing an error message. 
  40.  
  41.   Once I find out it can do the above, I'll be purchasing the manual
  42.   to support future scripts.
  43. > - Frank
  44.